#include "Deflator.h"
#include "zlib.h"

namespace phnq
{
	namespace kit
	{
		namespace compression
		{
			Deflator::Deflator()
			{
				// a little constructor action
			}

			Deflator::~Deflator()
			{
				// a little destructor action
			}
			
			int Deflator::deflate(unsigned char* in, unsigned long inLen, unsigned char* out, unsigned long *outLen)
			{
				return compress2(out, outLen, in, inLen, 9);
			}
		}
	}
}
